#pragma once

#include <oledberr.h>
class CAdoData
{
public:
    CAdoData(void);
    ~CAdoData(void);
    int Init(void);

    int Query(CString strSql,_RecordsetPtr& pRst);
    int CreateTable(CString strSql,_RecordsetPtr& pRst);
    int Exec(CString strSql,_RecordsetPtr& pRst);

    _ConnectionPtr m_pConnection;
    int UnInit(void);
    int CreateDatebase(CString strDBName);
    CString m_strJxcDBName;
};
